package com.aplana.ccsd.model;

/**
 * Общий класс для area
 */
public class Area {

	private final Integer width;

	public Area(Integer width) {
		this.width = width;
	}

	public Integer getWidth() {
		return width;
	}

	public String getHtmlStyle() {
		if (width == null) {
			return "";
		}
		return "width: " + width + "px;";
	}

}
